//
//  InterfaceTool.h
//  接口工具类
//
//  Created by 吴俊杰 on 2016/11/12.
//  Copyright © 2016年 吴俊杰. All rights reserved.
//
//这是一个网络数据接口工具类, 可以直接使用单例对象调用接口获取服务器返回的数据

#import <Foundation/Foundation.h>
#import "NetworkTool.h"

typedef enum : NSUInteger {
    DiseaseTumour = 1,                      //肿瘤
    DiseaseHematologicMalignancies = 2,     //血液科疾病
    DiseaseCVD = 3,                         //心血管疾病
    DiseaseNeurologicalDiseases = 4,        //神经科疾病
    DiseaseOrthopedicDiseases = 5,          //骨科疾病
} Disease;

@interface InterfaceTool : NSObject

/**
 获取单例对象
 */
+ (instancetype)sharedInterfaceTool;

/**
 天气预报
 */
- (void)getWeatherSuccess:(void(^)(id response))successBlock failure:(void(^)(NSError *error))failureBlock;

/**
 获取登陆
 */
- (void)getLoginSuccess:(void(^)(id response))successBlock failure:(void(^)(NSError *error))failureBlock;

/**
 获取轮播图片
 */
- (void)getScrollImageSuccess:(void(^)(id response))successBlock failure:(void(^)(NSError *error))failureBlock;

/**.
 选择疾病细分列表
 */
- (void)getSelectDiseaseSuccess:(void(^)(id response))successBlock failure:(void(^)(NSError *error))failureBlock;

/**
 选择并发症列表
 */
- (void)getSelectComplicationSuccess:(void(^)(id response))successBlock failure:(void(^)(NSError *error))failureBlock;

/**
 获取医生数量
 */
- (void)getDoctorCountSuccess:(void(^)(id response))successBlock failure:(void(^)(NSError *error))failureBlock;

/**
 获取医生列表
 */
- (void)getDoctorListSuccess:(void(^)(id response))successBlock failure:(void(^)(NSError *error))failureBlock;

/**
 获取医生基本信息
 */
- (void)getDoctorInfoSuccess:(void(^)(id response))successBlock failure:(void(^)(NSError *error))failureBlock;

/**
 获取医生的接诊条件
 */
- (void)getDoctorConditionSuccess:(void(^)(id response))successBlock failure:(void(^)(NSError *error))failureBlock;
/**
 获取医生简介
 */
- (void)getDoctorProfileSuccess:(void(^)(id response))successBlock failure:(void(^)(NSError *error))failureBlock;

/**
 获取医生就诊时间
 */
- (void)getDoctorWorkTimeSuccess:(void(^)(id response))successBlock failure:(void(^)(NSError *error))failureBlock;

/**
 获取关注医生
 */
- (void)getFollowDoctorSuccess:(void(^)(id response))successBlock failure:(void(^)(NSError *error))failureBlock;

/**
 获取取消关注医生
 */
- (void)getRemovedDoctorSuccess:(void(^)(id response))successBlock failure:(void(^)(NSError *error))failureBlock;

/**
 获取关注医生的列表
 */
- (void)getFollowedDoctorListWithPage:(NSInteger)page success:(void(^)(id response))successBlock failure:(void(^)(NSError *error))failureBlock;

/**
 根据疾病和页数获取疾病细分
 
 @param disease 疾病的枚举
 @param page 加载的页数
 */
- (void)getSubsectionWithDisease:(Disease)disease Page:(int)page success:(void(^)(id response))successBlock failure:(void(^)(NSError *error))failureBlock;

@end
